@echo off
echo Creating m4a directory if it does not exist...
if not exist .\output\m4a mkdir .\output\m4a

echo Converting OGG files to M4A format...
for %%f in (.\output\*.ogg) do (
    ffmpeg -i "%%f" ".\output\m4a\%%~nf.m4a"
)

echo Conversion complete.
pause
